﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site/ElegantFood.master" AutoEventWireup="true" CodeFile="ProductDetail.aspx.cs" Inherits="Site_Product_ProductDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ImageBanner" runat="server">
	<img src="../App_Resources/Images/banner1.jpg" alt="Banner1" width="1140" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ProductHeading" runat="server">
	<h2>
		ព័ត៌មានលម្អិតពីម្ហូប
	</h2>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentElegantFood" Runat="Server">
	<asp:Repeater ID="productDetails" runat="server">
		<ItemTemplate>
			<div class="col-md-6 product-detail">
				<div class="thumbnail">
					<img src="Uploads/<%# Eval("Image") %>" alt="" width="399" />
				</div>
			</div>
			<div class="col-md-6">
				<div class="caption">
					<h3 class="panel-title">
						<%# Eval("Name") %>
					</h3>
					<br />
					<dl class="dl-horizontal">
						<dt>ការពិព័ណ៌នា</dt>
						<dd><%# Eval("Description") %></dd>
						<dt>តម្លៃ</dt>
						<dd>
							<%# Eval("Price", "{0:c}") %></dd>
					</dl>
					<p class="help-block">
						<asp:LinkButton ID="AddToCartButton" runat="server" CssClass="btn btn-info btn-xs pull-left" OnClick="AddToCartButton_Click">ដាក់ចូលកន្ត្រក</asp:LinkButton>
						<asp:Label ID="DisplayProductID" runat="server" />
					</p>
				</div>
			</div>
		</ItemTemplate>
	</asp:Repeater>
</asp:Content>